package com.n9.qq.android.firendlist;

import com.qq.taf.jce.JceInputStream;
import com.qq.taf.jce.JceOutputStream;
import com.qq.taf.jce.JceStruct;

/**
 * @author ice
 * @since 2019/2/22 17:14
 */
public class stLevelRankPair extends JceStruct {
    public long dwLevel = 0L;
    public String strRank = "";

    public stLevelRankPair() {
    }

    public stLevelRankPair(long var1, String var3) {
        this.dwLevel = var1;
        this.strRank = var3;
    }

    @Override
    public void readFrom(JceInputStream var1) {
        this.dwLevel = var1.read(this.dwLevel, 0, false);
        this.strRank = var1.readString(1, false);
    }

    @Override
    public void writeTo(JceOutputStream var1) {
        var1.write(this.dwLevel, 0);
        if (this.strRank != null) {
            var1.write(this.strRank, 1);
        }

    }
}
